Version numbers on template modules are inherited

Hi - We have template modules, containing a base doc structure, as well as some standard/reusable requirements, for projects to copy as their starting point (in fact they copy the entire project, bringing assocaited documents and links). This template needs to be itself subject to version control, so we baseline it in Doors. The problem is that projects that then reuse it then inherit that version history, whereas really they are starting now at their own v0.1.

I'm sure this is fixed/core Doors functionality (that copying preserves baselines), but I'm wondering if anyone has encountered this before, as I'm sure the context is quite common, or has any suggestions on ways to deal with it.

Thanks alot, Kieran
kierant - Fri Sep 25 11:28:28 EDT 2009

Re: Version numbers on template modules are inherited
SystemAdmin - Fri Sep 25 12:29:14 EDT 2009

Very common problem --
Solution -- adapt your process to deal with it or take a different approach to satisfy you engineer process.

Re: Version numbers on template modules are inherited
kbmurphy - Fri Sep 25 15:32:40 EDT 2009

SystemAdmin - Fri Sep 25 12:29:14 EDT 2009
Very common problem --
Solution -- adapt your process to deal with it or take a different approach to satisfy you engineer process.

A couple of solutions:

Create a DXL script that copies attributes/views/objects to new production modules.

Don't baseline the module, just export it as a DMA and put THAT into version control.

Good luck.

Kevin

Re: Version numbers on template modules are inherited
SystemAdmin - Fri Sep 25 23:20:37 EDT 2009

What I have done is to keep the major and minor baseline labels of a Module template at 0.0 and only change the baseline prefix when new versions of the template are created - I just use a simple date format for the baseline prefix like YYMMDD.

When users copy the Module template, the copy function only copies the current version of the template, so all past template baselines are not included in the copied instance, but the baseline major and minor labels start at 0.0 which allows the project to have a clean start with baseline labels.

If you need to retain a history of the version of the template that was used, a module level DXL attribute can be used to record a snap shot of the template baseline label into a module level string attribute. This value will then carry over when the template is copied.


Paul Miller

Re: Version numbers on template modules are inherited
kierant - Mon Sep 28 04:58:03 EDT 2009

Thanks everyone for the replies. Paul - I like the suggestion of keeping it at 0.0.x., I think that's a cleaver way of working around this. All I was able to think of was copying over objects into new modules (like you suggested Kevin), but because the base set consists of a package of linked modules there would have been alot to copy, then relink etc.